﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Objects
{
    [Table("UserProfile")]
    public class UserProfile 
    {
        public string Username { get; set; }
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int UserId { get; set; }

        public virtual IEnumerable<Comment> Comments { get; set; }
        public virtual IEnumerable<Bus> Buses { get; set; }

       
    }
}
